Systems and methods for machine control

ABSTRACT

A region of space may be monitored for the presence or absence of one or more control objects, and object attributes and changes thereto may be interpreted as control information provided as input to a machine or application. In some embodiments, the region is monitored using a combination of scanning and image-based sensing.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 15/392,920, filed 28 Dec. 2016, which is a continuation of U.S. patent application Ser. No. 14/280,018, filed May 16, 2014, which is a continuation-in-part of (i) U.S. patent application Ser. No. 14/106,140, filed on Dec. 13, 2013 now U.S. Pat. No. 9,153,028 issued on Oct. 6, 2015 (which is a continuation of U.S. patent application Ser. No. 13/742,953, filed on Jan. 16, 2013, now U.S. Pat. No. 8,638,989, issued on Jan. 8, 2014, which is a continuation-in-part of (a) U.S. patent application Ser. No. 13/414,485 (filed on Mar. 7, 2012), which claims priority to and the benefit of U.S. Provisional Patent Application No. 61/587,554 (filed on Jan. 17, 2012) and (b) U.S. patent application Ser. No. 13/724,357 (filed on Dec. 21, 2012 and now U.S. Pat. No. 9,070,019 issued Jun. 30, 2015), which claims priority to and the benefit of U.S. Provisional Patent Application No. 61/724,091 (filed on Nov. 8, 2012)), (ii) U.S. patent application Ser. No. 14/212,485, filed on Mar. 14, 2014 (which claims priority to U.S. Provisional Application Nos. 61/792,025, 61/800,327, and 61/801,479, each filed on Mar. 15, 2013), (iii) U.S. patent application Ser. No. 14/154,730, filed on Jan. 14, 2014 and issued as U.S. Pat. No. 9,501,152 on Nov. 22, 2016 (which claims priority to (a) U.S. Provisional Patent Application Nos. 61/825,515 and 61/825,480, both filed on May 20, 2013, (b) U.S. Provisional Patent Application No. 61/873,351, filed on Sep. 3, 2013 and 61/877,641, filed on Sep. 13, 2013, (c) U.S. Provisional Patent Application No. 61/816,487, filed on Apr. 26, 2013, (d) U.S. Provisional Patent Application No. 61/824,691, filed on May 17, 2013, (e) U.S. Provisional Patent Application Nos. 61/752,725, 61/752,731, and 61/752,733, all filed on Jan. 15, 2013, (f) U.S. Provisional Patent Application No. 61/791,204, filed on Mar. 15, 2013, (g) U.S. Provisional Patent Application Nos. 61/808,959 and 61/808,984, both filed on Apr. 5, 2013 and (h) U.S. Provisional Patent Application No. 61/872,538, filed on Aug. 30, 2013 and (iv) U.S. patent application Ser. No. 14/250,758, filed on Apr. 11, 2014 (which claims priority to and the benefit of U.S. Provisional Patent Application No. 61/811,415, filed on Apr. 12, 2013). U.S. patent application Ser. No. 14/280,018 also claims priority to and the benefit of U.S. Provisional Patent Application No. 61/886,586, filed on Oct. 3, 2013, U.S. Provisional Patent Application No. 61/871,790, filed Aug. 29, 2013, U.S. Provisional Patent Application No. 61/873,758, filed on Sep. 4, 2013, U.S. Provisional Patent Application No. 61/898,462, filed on Oct. 31, 2013 and U.S. Provisional Patent Application No. 61/952,843 filed on Mar. 13, 2014. U.S. patent application Ser. No. 13/724,357 is also a continuation-in-part of U.S. patent application Ser. No. 13/414,485. The foregoing applications are hereby incorporated herein by reference in their entireties.

TECHNICAL FIELD

Embodiments relate generally to machine user interfaces, and more specifically to the use of machine-acquired sensory inputs to formulate control input to machines.

BACKGROUND

Conventional machine interfaces generally require users to provide input mechanically, typically via one or more switches. The keys of a computer keyboard or the buttons on a computer mouse, for instance, are obviously switches. Even a tablet touch screen is at its core a collection of switches, arranged in an array that facilitates locating the point or region of touch based on the subset of switches that are being activated. Beyond just user interfaces for personal computers and consumer electronics, machine interfaces used in industrial, medical, and military contexts, such as robot teach pendants or input devices for computer-assisted surgery, likewise rely on contact-based control input via switches or similar mechanical input elements. Unfortunately, such reliance on physical contact and operation of switches severely limits not only the machine user's freedom to move about, but also the realm of types of user input that are possible. Therefore, an alternative user-interface approach that remedies the shortcomings of traditional interfaces by providing greater flexibility is needed.

SUMMARY

Aspects of the systems and methods described herein provide for improved image- and sensory-signal-based machine interactivity and/or communication by interpreting the position and/or motion of an object (including objects having one or more articulating members, e.g., hands, but more generally any moving parts of humans and/or animals and/or machines) acquired through various machine sensory mechanisms. Among other aspects, embodiments can enable automatically (e.g., programmatically) determining command information (including command information to the sensory system itself, e.g., indicating the manner of further scanning or other sensory data acquisition) using inputs detected from positional information (e.g., position, volume, and/or surface characteristics) and/or motion information (e.g., translation, rotation, deformation and/or other structural change) of a portion of a hand or other detectable object moving in free space. In some embodiments, this is based upon scanning a scene to detect variations that might indicate a presence, position and/or variation (conformations, deformations, translations, rotations, or other object state changes) of a control object portion. Scanning can be performed according to coarse as well as refined scanning patterns and/or intermixed with capturing of images and/or other sensory data capture. Inputs can be interpreted from scan(s), image(s) and/or other sensory data in conjunction with providing command information, machine input, commands, communications and/or other user-machine interfacing, gathering information about objects, events and/or actions existing or occurring within an area being explored, monitored, or controlled, and/or combinations thereof.

In various embodiments, a scene is scanned with a moving directed emission of light or other electromagnetic radiation (e.g., a light beam “sweeping” the scene), or multiple sequentially activated emissions in generally different directions, in accordance with a scan pattern, and reflections of the light off any objects within the scanned region are detected with one or more photosensors (e.g., a collection of sensors such as a camera). Once the presence of an object has been detected based on its reflection signal, a second scan may be performed, typically at a higher resolution and optionally limited to a reduced scan field surrounding the object, to obtain more detailed information about the object or a portion thereof, e.g., to determine its three-dimensional shape and configuration. Subsequent scans may be used to track motions, deformations, and other state changes of the object or object portion. Alternatively to using refined scans (or additionally), detailed object information may be determined by imaging the region with one or more cameras. For instance, images of the object acquired simultaneously by two or more cameras from different vantage points may be analyzed to reconstruct the three-dimensional shape of the object surface. Conversely, in some embodiments, an (e.g., low-resolution) image of a region of interest may be acquired initially to detect objects within the region, and upon such detection, subsequent higher-resolution images or reflections created through scans of the region or object may be acquired to obtain more detailed information about the object. The type(s) of technology (technologies) employed and/or, if applicable, the order in which multiple technologies are employed to detect objects (or object portions) and subsequently determine object attributes (such as a position, orientation, shape, configuration, or parameters of motion or deformation, etc.) depends on the performance characteristics of the technologies (e.g., spatial and/or temporal resolution of the acquired data, responsiveness to changes in the monitored region, complexity and cost of the technology, reliability and robustness of detection algorithms, etc.) and the particular application (e.g., motion tracking, identification, gesture recognition, etc.). Combining a fast scan of the scene with subsequent image-based object tracking, for instance, may advantageously facilitate monitoring a large region in real-time with limited computational resources while providing a wealth of information once an object has been detected.

Accordingly, among other aspects, a computer implemented method for conducting machine control is provided by conducting scanning of a region of space. Scanning can include directing at least two emission cycles to form at least two scan patterns from an emission region to a region of space that might include a control object. Emissions can be cyclical (e.g., repeated) and in accordance to one or more scan patterns directing a sequence, or pattern of activating emissive elements during the emission. Directing can be achieved by a first power state variance at a first light emitter at least partially concurrent with second power state variance at a second light emitter. Alternatively, directing can be achieved by extinguishing a first light emitter completely before activating a second light emitter. An emission region includes a first emission point and a second emission point rotationally pivot-able about one or more axes having an origin point within the emission region. The first emission point can be the same as, or different from, the second emission point.

A reflectance of the at least two scan patterns is detected. Detecting can be achieved by detecting the reflectance with at least one suitable photo-sensitive element, capturing an image with at least one suitable photo-sensitive array element, or combinations thereof. When determined that the detected reflectance indicates a presence of an object in the region of space, a first object attribute set of one or more object attributes of the object is determined for a first one of the at least two scan patterns and a second object attribute set of one or more object attributes of the object is determined for a second one of the at least two scan patterns.

Analyzing the first object attribute set and the second object attribute set enables a system to determine a potential control portion of the object (e.g., a finger-tip of a hand, working-tip of a tool, etc.). In one implementation, analyzing first and second object attribute sets includes finding a known feature. In one implementation, finding a known feature includes identifying characteristics of the object corresponding to characteristics common to features of control portions of determining a reflector affixed to the object. In one implementation, the determining object attribute set includes, in addition to detecting the at least two scan patterns, capturing at least one image with an imaging system including at least one camera.

Comparing the first object attribute set and the second object attribute set can determine control information (e.g., command information including command(s) to a machine or system under control, command(s) to a system conducting the scanning to change one or more parameters of the scanning, other command information such as permissions, authorization, and so forth, or combinations thereof). Accordingly, the indicated control information can be responded to according to response criteria. A response criteria can include determining whether to respond to the control information.

Object attributes can be attributes of the control portion of the object when a control portion is identified. Control portions can inherit certain ones of the object attributes thereby becoming associated with control portion attributes. Control portions can have control portion attributes in addition to the control portion attributes inherited from the object attributes (e.g., finger-tip pointing up or down, etc.). Accordingly, comparing the first object attribute set and the second object attribute set can include comparing control portion attributes selected from the first set with control portion attributes selected from the second set.

An emission cycle can be directed in a first scan pattern and first and second sets of one or more object attributes can be determined by conducting a second scanning in a second pattern. The second scan pattern can be more refined than the first scan pattern. Accordingly, the refined scan pattern captures surface detail about the control object not otherwise captured by a less refined scan pattern. In one implementation, determining first and second sets of one or more object attributes can include determining control-portion attributes based at least in part on captured surface detail about the object. Comparing the first object attribute set with the second object attribute set to determine control information can be achieved by comparing differences in captured surface detail of control portion(s) of the object from control portion attributes of the first scan and the second scan to determine a change indicating control information. For example, determining a change indicating control information can be determining whether an engagement gesture has occurred. In another example, determining a change indicating control information can be determining whether a prospective user has come into vicinity of a machine under control. In a further example, determining a change indicating control information can be determining whether an object is there or not present. In a yet further example, determining a change indicating control information can be determining a correction to control information by comparing the control information to a prior determined control information.

In one implementation, the directing is configured to cause a light emission pattern of a first light emitter to interfere or to create an interference pattern with a light emission pattern of a second light emitter.

In another aspect, a computer implemented method for conducting machine control includes monitoring a region of space for a presence of an object using a first sensing modality. Upon detection of the presence of an object, using a second sensing modality, first and second sets of object attributes are determined for the object. For example, monitoring the region using the first sensing modality can include scanning the region with an emission and detecting a reflectance, and using the second sensing modality comprises acquiring images of the region. Alternatively, monitoring the region using the first sensing modality can include acquiring images of the region, and using the second sensing modality comprises scanning the region with an emission and detecting a reflectance. Comparing the first object attribute set and the second object attribute set enables a system to determine control information. A system under control can respond to the indicated control information according to response criteria.

In a further aspect, a system for conducting machine control includes an emission module for directing an emission cycle to a region of interest in accordance with a scan pattern. A detection module provides (i) detecting a time-variable signal indicative of reflection of the emission by an object in the region of interest, and (ii) acquiring images of the region of interest. For example, the detection module can include one or more cameras for acquiring the images of the region of interest. Additionally, the detection module can include a photosensitive element for detecting a reflection. Additionally, the detection module further comprises circuitry for extracting the time-variable signal from the reflection. A controller provides coordinating operation of the emission and detection modules. A computational facility for processing the reflection signal and the images to determine therefrom a presence of the object and object attributes associated therewith, and for inferring machine-control information from the object attributes.

Advantageously, some embodiments can enable improved machine interfacing and sensory capabilities using “free-space” (i.e., not requiring physical contact) interfacing with a variety of machines. In some embodiments, scanning performed according to coarse as well as refined scanning patterns, and/or intermixed with image capture and/or other sensory data capture, can provide enhanced sensory input acquisition by machines. In fact, some embodiments can provide improvements to their own sensory capabilities by providing command information to the sensory system itself. For example, in embodiments, a sensory acquisition system can indicate to itself a manner for further scanning or other sensory data acquisition. Some embodiments can indicate to themselves improvements in the manner of interpreting scanning or sensory data. Inputs interpreted from scan(s), image(s) and/or other sensory data can provide command information, machine input, commands, communications and/or other user-machine interfacing, gathering information about objects, events and/or actions existing or occurring within an area being explored, monitored, or controlled, and/or combinations thereof.

BRIEF DESCRIPTION OF THE DRAWINGS

A more complete understanding of the subject matter can be derived by referring to the detailed description and claims when considered in conjunction with the following figures, wherein like reference numbers refer to similar elements throughout the figures.

FIG. 1 illustrates an example machine sensory and control system in embodiments;

FIGS. 2A-2E illustrate example emission components of the machine sensory and control system of FIG. 1, in accordance with various embodiments;

FIGS. 3A-3E illustrate example detector components of the machine sensory and control system of FIG. 1, in accordance with various embodiments;

FIGS. 4A-1 illustrates a machine sensory and control system providing scanning functionality in accordance with various embodiments;

FIGS. 4A-2 and 4A-3 illustrate light emission and detection intensities, respectively, for an exemplary binary control scheme of the scanning system of FIG. 4A-1;

FIGS. 4A-4 and 4A-5 illustrate light detection intensities for an exemplary continuous control schemes of the scanning system of FIG. 4A-1;

FIG. 4B-1 illustrates a machine sensory and control system providing image-based sending functionality in accordance with various embodiments;

FIGS. 4B-2 and 4B-3 conceptually illustrate reconstruction of a cross-section of a control object using the image-based sensing system of FIG. 4B-1;

FIG. 4C illustrates a device integrating scanning and image-based sensing functionality in accordance with one embodiment;

FIG. 5A illustrates a method for detecting and monitoring a control object using at least two scanning patterns in accordance with various embodiments;

FIGS. 5B and 5C illustrate methods for detecting and monitoring a control object using both scanning and image-based sensing in accordance with various embodiments;

FIGS. 6A and 6B illustrate a variation determination system in accordance with various embodiments;

FIGS. 7A and 7B illustrate predictive information including a model in accordance with various embodiments;

FIGS. 7C and 7D illustrate deformation using the predictive information of FIGS. 7A and 7B.

FIGS. 8A and 8B illustrate virtual constructs implementing an engagement target with which a control object interacts in accordance with various embodiments; and

FIG. 9 illustrates a computational facility for sensory-based machine control according to embodiments, components thereof, and interrelations therebetween.

DETAILED DESCRIPTION

Techniques described herein can be implemented as one or a combination of methods, systems or processor-executed code to form embodiments capable of improved control of machines or other computing resources based at least in part upon determining whether positions and/or motions of a control object (e.g., hand, tool, hand and tool combinations, other detectable objects or combinations thereof) might be interpreted as an interaction with one or more virtual objects. Embodiments can enable modeling of physical objects, created objects and interactions with combinations thereof for machine control or other purposes.

FIG. 1 illustrates an exemplary machine sensory and control system in embodiments. In one embodiment, a motion-sensing and controller system provides for detecting that some variation(s) in one or more portions of interest of a user (or other object) has occurred, for determining that an interaction with one or more machines corresponds to the variation(s), for determining whether the interaction should occur, and, if so, for affecting the interaction. The machine sensory and control system (MSCS) typically includes a portion-detection system, a variation-determination system, an interaction system, and an application-control system.

The detection system may detect and capture positional and/or motion information about a control object based on light reflected or scattered by the object. In some embodiments, reflections of ambient light by the object suffice for object detection; in alternative embodiments, the system includes one or more light sources for actively illuminating a region of interest and the object(s) therein. For example, as FIG. 1 shows, one embodiment of detection system 100 includes an emission module 102, a detection module 104, a controller 106, a processing module 108, and a machine-control module interface 110. The emission module 102 illuminates one or more objects of interest 112 (e.g., the user's finger or some other control object) within an area of interest 114. In one embodiment, the emission module 102 includes one or more emitter(s) 120A, 120B (e.g., LEDs or other devices emitting light in the IR, visible, or other spectrum regions, or combinations thereof; radio and/or other electromagnetic signal emitting devices) that are controllable via emitter parameters (e.g., frequency, activation state, firing sequences and/or patterns, and so forth) by the controller 106. However, other existing/emerging emission mechanisms and/or some combination thereof can also be utilized in accordance with the requirements of a particular implementation. The emitters 120A, 120B can be individual elements coupled with materials and/or devices 122. For instance, a light-emitting element 120A, 120B may be combined with a lens 122A (see FIG. 2A), multi-lens 122B (see FIG. 2B), image-directing film (IDF) 122C (see FIG. 2C), liquid lens, multiple such elements or combinations thereof, and/or others, with varying or variable optical properties to direct the emission. Further information about image directing films can be found in U.S. Provisional Patent Application No. 61/886,586, filed Oct. 3, 2013), the entire disclosure of which is hereby incorporated by reference. Further, as shown in FIG. 2D, one or more arrays 120D of emissive elements (combined on a die or otherwise) may be used with or without the addition of devices 122 for directing the emission, and positioned within an emission region 200 (see FIG. 2A) according to one or more emitter parameters (e.g., statically mounted (e.g., fixed, parallel, orthogonal or forming other angles with a work surface, one another or a display or other presentation mechanism), dynamically mounted (e.g., pivotable, rotatable and/or translatable), embedded (e.g., within a machine or machinery under control) or otherwise coupleable using an interface (e.g., wired or wireless). Arrays of emissive elements can be implemented together as vertical cavity surface emitting laser (vcsel) elements, such that portions of the array can be illuminated selectively to enable illuminating areas of interest (e.g., containing objects) within the region of interest for power savings or other operational criteria. In some embodiments, illustrated in FIG. 2E, structured lighting techniques can provide improved surface-feature-capture capability by casting illumination according to a reference pattern onto the object. Image-capture techniques described in further detail herein can be applied to capture and analyze differences in the reference pattern and the pattern as reflected by the object. In yet further embodiments, the detection system 100 may omit the emission module 102 altogether (e.g., in favor of ambient lighting).

With renewed reference to FIG. 1 and further reference to FIGS. 3A-3E, in one embodiment, the detection module 104 includes one or more capture device(s) 130A, 130B (e.g., e.g., devices sensitive to visible light or other electromagnetic radiation) that are controllable via the controller 106. The capture device(s) 130A, 130B can comprise one or more individual image-capture elements 130A or arrays of image-capture elements 130A (e.g., pixel arrays, CMOS or CCD photo sensor arrays, or other imaging arrays) or individual photosensitive elements 130B or arrays of photosensitive elements 130B (e.g., photodiodes, photo sensors, single detector arrays, multi-detector arrays, or other configurations of photo sensitive elements), or combinations thereof. However, other existing/emerging detection mechanisms and/or some combination thereof can also be utilized in accordance with the requirements of a particular implementation.

Capture device(s) 130A, 130B can each define a particular vantage point 300 from which objects 112 within the area of interest 114 are sensed, and can be positioned within a detection region 302 (see FIG. 3A) according to one or more detector parameters (either statically (e.g., fixed, parallel, orthogonal or forming other angles with a work surface, one another, or a display or other presentation mechanism) or dynamically (e.g., pivotably, rotatably, and/or translatably); and mounted, embedded (e.g., within a machine or machinery under control), or otherwise coupleable using a wired or wireless interface). Capture devices 130A, 130B can be coupled with devices and/or materials (such as, e.g., lenses 310A (see FIG. 3A), multi-lenses 310B (see FIG. 3B), image-directing film (IDF) 310C (see FIG. 3C), liquid lenses, combinations thereof, and/or others) with varying or variable optical properties for directing the reflectance to the capture device 130A, 130B for controlling or adjusting resolution, sensitivity, and/or contrast. Capture devices 130A, 130B can be designed or adapted to operate in the IR, visible, or other spectrum regions, or combinations thereof; or alternatively operable in conjunction with radio- and/or other electromagnetic-signal-emitting devices in various applications. Multiple capture devices 130A, 130B can be organized in arrays 320, in which the image capture device(s) can be interleaved by row (see, e.g., FIG. 3D), column, or according to a pattern, or can be otherwise addressable individually or in groups. In an embodiment, capture devices 130A, 130B can capture one or more images for sensing objects 112 and capturing information about the object (e.g., position, motion, and so forth). In embodiments comprising more than one capture device, particular vantage points of capture devices 130A, 130B can be directed to area of interest 114 so that fields of view 330 of the capture devices at least partially overlap. Overlap in the fields of view 330 (see, e.g., FIG. 3E) provides capability to employ stereoscopic vision techniques, including those known in the art, to obtain information from a plurality of images captured substantially contemporaneously.

While illustrated with reference to a particular embodiment in which control of emission module 102 and detection module 104 are co-located within a common controller 106, it should be understood that these control functions may, in alternative embodiments, be implemented in separate hardware components, or may each be distributed over a plurality of components. Controller 106 comprises control logic (implemented in hardware, software, or combinations thereof) to conduct selective activation/de-activation of emitter(s) 120A, 120B in on-off or other activation states or combinations thereof (and/or to control active directing devices) to produce emissions of (e.g., spatiotemporally) varying intensities, e.g., in accordance with a scan pattern which can be directed to scan the area of interest 114. For example, the controller may sequentially activate emitters pointing in different directions. Controller 106 may, similarly, include control logic (implemented in hardware, software or combinations thereof) to conduct selection, activation, and control of capture device(s) 130A, 130B (and/or to control associated active directing devices) to capture images or otherwise sense differences in reflectance or other illumination. Signal-processing module 108 determines whether captured images and/or sensed differences in reflectance and/or other sensor-perceptible phenomena indicate a possible presence of one or more objects of interest 112, such as control objects 112A; the presence of such objects, and/or variations thereof (e.g., in position, shape, etc.), can be used as input to a machine controller via the machine- and application-control module interface 110.

The determination whether an object of interest is present can be made, e.g., based on intensity-based foreground-background discrimination, exploiting the fact that objects of interest are typically to be expected in the image foreground. Further, to discriminate between static foreground objects that are not of interest and a control object, which is typically moving, a static image baseline may be accumulated over a time series of images and subtracted from a current image to identify the moving object. Of course, any kind of motion-detecting image-processing technique may be used alternatively or additionally. In some embodiments, the presence of an object of interest is determined from comparison of the image data, or portions thereof, against a library of image templates for objects of interest; suitable techniques for such template matching include image correlation, block-based matching, edge detection, feature and keypoint extractions, combinations thereof, and others.

In various embodiments, the variation of one or more portions of interest of a user or control object can correspond to a variation of one or more attributes (e.g., position, motion, appearance, surface patterns) of a user's hand or finger(s), points of interest on the hand, a facial portion, etc., or other control objects (e.g., styli, tools), and so on (or some combination thereof) that is detectable by, or directed at, but otherwise occurs independently of the operation of the machine sensory and control system. Thus, for example, the system may be configurable to “observe” ordinary user locomotion (e.g., motion, translation, expression, flexing, deformation, and so on), locomotion directed at controlling one or more machines (e.g., gesturing, intentionally system-directed facial contortion, and so forth), and/or attributes thereof (e.g., rigidity, deformation, fingerprints, veins, pulse rates, and/or other biometric parameters); see, e.g., U.S. Provisional Patent Application No. 61/952,843 (filed on Mar. 13, 2014), the entire disclosure of which is hereby incorporated by reference. In one embodiment, the system provides for detecting that some variation(s) in one or more portions of interest (e.g., fingers, fingertips, or other control surface portions) of a user has occurred, for determining that an interaction with one or more machines corresponds to the variation(s), for determining whether the interaction should occur, and, if so, for at least one of initiating, conducting, continuing, discontinuing, and/or modifying the interaction (and/or a corresponding or related interaction).

The system 100 may facilitate different object-sensing modalities, including, e.g., a scanning modality and/or an image-based sensing modality, as are now described in more detail. FIG. 4A-1 illustrates portions of the system 100 configured for scanning a region of interest 114. Herein, the emission module 402 includes a number (e.g., four in the depicted embodiment) emitters A, B, C, D that point in different directions and thereby illuminate different portions of the region of interest 114. Emissions that intercept an object 112 are reflected, and a portion of the reflection is captured by a detector element, arrangement of detector elements, camera or camera-like device (comprising a pixelated sensor), or other device of the detection module 404. The controller 106 may operate the emitters A, B, C, D sequentially, e.g., in a binary fashion where they are turned on and off one at a time as illustrated in FIGS. 4A-2 and 4A-3. Alternatively, the controller 106 may operate the emitters A, B, C, D in a continuous, gradual fashion where each emitter reaches its intensity maximum at a different point in time; in this case, the emission from one emitter may be completely extinguished before the next emitter is activated, or the emissions of two or more emitters may temporally overlap (e.g., to create a “cross-fade”). In continuous emission mode, the signal intensity received at the reflector likewise varies continuously, resulting either in a single intensity maximum per cycle as illustrated in FIG. 4A-4, or in multiple local maxima with typically one global maximum per cycle as illustrated in FIG. 4A-5. Whether the emission module is operated in binary or continuous mode, the emitter that causes the most direct illumination of the object (emitter B in the depicted embodiment) generally results in the highest-intensity reflection measured by the detector module 104. Thus, by controlling the order in which the emitters are activated (or reach their respective peak emissions) and correlating it to the time-dependent signal received at the detector, locational information about the object 112 can be inferred (e.g., the direction at which the object appears from the standpoint of the emission module may be determined). In some embodiments, the detector module 104 provides additional, independent locational information. For example, if a camera is used, the position of the object 112 within the camera image can be determined. This information, together with the temporal occurrence of the reflection peak in the reflection signal may facilitate computing depth information and determining the three-dimensional location of the object, e.g., based on triangulation.

In some implementations, operating emitters, such as emitters A, B, C, D, at more than one characteristic rates, e.g., the time period to complete single cycle, provides scanning of the region of interest 114 with illumination having different characteristic timing, thereby enabling an interference pattern to be generated by the constructive and destructive interference between the different scan patterns. Constructive interference between the two or more scan patterns can enable a “sweep” of the region of interest by a peak in the interference pattern. The peak in illumination can sweep the region of interest (similar to a light house sweeping the horizon) with a locally concentrated burst of radiant intensity. (Analogously, destructive interference can enable a trough to sweep the region of interest.) In another implementation, a static interference pattern can be cast upon the object 112 in order to enable detecting features of the surface of object 112 by observing distortions in the interference pattern when reflected by the object 112 (see e.g., FIG. 2E).

Various modifications of the emission and detection modules and associated control and signal-processing facilities may be employed. For example, the number and configuration of the individual light emitters may be changed, or a moving (e.g., rotating) emitter, or a stationary emitter in conjunction with a moving (e.g., rotating) deflecting optic or screen, may be used instead of discrete emitters to continuously shift the emission direction across the scene. Further, more complex control schemes of the emission module and, synchronized therewith, the detection module may be used, and detailed information about the relative location and orientation of the emitter and detector elements may be exploited, to increase the amount of information inferable about the object 112. As will be readily appreciated by one of skill in the art, the region of interest 114 may be scanned at various spatial and temporal resolutions, depending on the capabilities of the particular system implementation and the needs of the particular application. For example, a scan may be fine-grained enough to capture surface detail of a person or other control object and may be repeated at sufficient frequency to accurately track movements, deformations, and other state changes. Further detail about systems and methods for scanning-based object detection, reconstruction, and tracking can be found in U.S. patent application Ser. No. 14/212,485, filed on Mar. 14, 2014, which is hereby incorporated herein by reference in its entirety.

FIG. 4B-1 illustrates portions of the system 100 configured for image-based object detection in a region of interest 114. Herein, the detection module 104 includes two (or more) video cameras 400, 402 that acquire a stream of images of the region of interest 114 from two different vantage points (see also FIG. 3E). The cameras 400, 402 may be, e.g., CCD or CMOS cameras, and may operate, e.g., in the visible, infrared (IR), or ultraviolet wavelength regime, either by virtue of the intrinsic sensitivity of their sensors primarily to these wavelengths, or due to appropriate filters 410 placed in front of the cameras 400, 402. In some embodiments, the emission module 102 includes one or more light sources 412 co-located with the cameras 400, 402 for illuminating the region of interest 114 at wavelengths matching the wavelength regime of the cameras 400, 402. For example, the light sources 412 may be LEDs that emit IR light, and the cameras 400, 402 may capture IR light that is reflected off the control object and/or objects in the background. Due to the inverse-square dependence of the illumination intensity on the distance between the light sources 412 and the illuminated object, foreground objects such as the control object 112 generally appear significantly brighter in the images than background objects, aiding in intensity-based foreground/background discrimination. In some embodiments, the cameras 400, 402 and light sources 412 are disposed below the control object to be tracked and point upward. For example, they may be placed on a desk to capture hand motions taking place in a spatial region above the desk, e.g., in front of the screen. This location may be optimal both for foreground/background discrimination (because the background is in this case typically the ceiling and, thus, far away) and for discerning the control object's direction and tip position (because the usual pointing direction will lie, more or less, in the image plane).

The signal processing module 108, which may be implemented, e.g., on a computer 414, may analyze pairs of image frames acquired by the two cameras 400, 402 to identify the control object (or an object including the control object or multiple control objects, such as a user's hand) therein (e.g., as a non-stationary foreground object) and detect its edges and/or other features. The module 108 may analyze corresponding rows in each pair of images to estimate a cross-section of the object based on edge points thereof as seen from the vantage points of the two cameras. In more detail, as shown in FIGS. 4B-2 and 4B-3, tangent lines 420, 421, 422, 423 on the control object 425, extending from the vantage points 427, 428 (where the cameras are located) to the respective edge points 430, 431, 432, 433 of the control object 425 may be defined, and an ellipse 435 (or other geometric shape defined by only a few parameters) may be inscribed therein. Accordingly, the ellipse 435 can serve as a model, obviating the need to conduct processing on the control object 425. This can be advantageous in situations where the control object has complex surface details making it computationally difficult to work with. The cross-sections obtained for multiple adjacent rows of the image pairs may then be computationally connected in a manner that is consistent with certain heuristics and known properties of the control object (e.g., the requirement of a smooth surface) to resolve any ambiguities in the fitted ellipse parameters. As a result, the control object is reconstructed or modeled in three dimensions. This method, and systems for its implementation, are described in more detail in U.S. patent application Ser. No. 13/414,485, filed on Jan. 17, 2012, the entire enclosure of which is incorporated herein by reference. A larger object including multiple control objects can similarly be reconstructed with respective tangent lines and fitted ellipses, typically exploiting information of internal constraints of the object (such as a maximum physical separation between the fingertips of one hand). As described further below, the computer may also extract relevant control object attributes, such as tip positions and orientations as well as velocities, from the three-dimensional model. In some embodiments, this information can be inferred from the images at a lower level, prior to or without the need for fully reconstructing the control object. These operations are readily implemented by those skilled in the art without undue experimentation.

In embodiments that facilitate both scanning and image-based sensing modalities, these modalities may be supported by separate hardware, or include components that are shared between the two modalities. For example, separate detection and emission modules for scanning and imaging may be connected or connectable to the same control module, or certain components of the emission or detection module (e.g., a camera) may be selectively usable in either modality. In some embodiments, components of the emission and detection modules for both modalities, and optionally also the associated control functionality, are integrated into a single unit. For example, scanner hardware may be provided on a daughter board designed for ready integration into a camera-based motion controller; FIG. 4C shows an exemplary implementation 450. Herein, scanning is facilitated by an LED board 452 that has a number of individually controllable LEDs 454, 456 embedded therein. Some, but not necessarily all of the LEDs may have associated focusing optics. In the depicted embodiment, for instance, six LEDs 454 (four of which are arranged at the center and two of which flank the board 452 at the sides) have focusing lenses, and ten additional LEDs 456 (which are arranged in columns of two, three, three, and two LEDs, respectively) are without focusing lenses. The LED board 452 may also include a socket 458 for coupling (e.g., to a photodetector not shown). Two cameras 460 for image-based sensing may be provided in the main board 462 of the device. The main board 462 may also include a processor for basic image processing and/or control of the cameras 460 and/or the LED board 452. The LED board 452 and main board 462 may be secured with threaded fasteners or otherwise mounted on a base plate 464. As will be readily appreciated by one of skill in the art, various modifications of the design shown in FIG. 4C are possible; for example, the number and arrangement of LEDs, photodetectors, and cameras may vary, and/or the scanning and imaging hardware may be integrated on a single board. Advantageously, integrating scanning and image-based sensing capabilities into a single motion controller 450 provides a multi-functionality, yet compact device suitable, e.g., for installation in machines with limited space, such as, e.g., vehicles, appliances, etc.

Referring now to FIGS. 5A-5C, various methods for detecting control objects and attributes and state changes thereof using systems as described above are illustrated. In one embodiment, shown by flowchart 500A in FIG. 5A, a region of interested is repeatedly scanned by spatiotemporally variable emissions, and detected reflectance signals are analyzed to identify the object and monitor its movements and other attributes. Initially, one or more pre-scans may be performed (502) to monitor the region for the presence of any objects therein. If desirable to improve the signal-to-noise ratio, signals from two or more scans may be averaged. The pre-scan(s) may be conducted at a low or moderate spatial resolution (compared with subsequent scans) in accordance with a first scan pattern. For example, a wide-angle emission may be directed successively into the four quadrants of a room. The system may be configured such that, in the absence of any object within the region, any reflection by physical boundaries of or beyond the region (e.g., walls) is low in intensity (in some embodiments below the noise threshold), whereas the presence of an object generally results in detectable reflectance signal. A full emission cycle (corresponding, e.g., to the sequential activation of all individual emitters) preferably illuminates the entire region of interest such that an object of any size anywhere within the region causes a detectable reflectance. Alternatively, if objects of interest are known a priori to have a certain minimum size, illumination of only a fraction of the region in accordance with a pattern that provides sufficiently dense coverage to resolve objects of the size of the objects of interest may be used. For instance, if the region is scanned for a person, narrow-angle emissions that scan the region at a resolution of about 10 cm (i.e., such that the emissions intercept any plane in the region of interest about every 10 cm) may suffice.

Once a reflectance has been detected (504) in a pre-scan, upon which a presence of an object can be inferred, the region may be scanned (506) in accordance with a second, higher-resolution scan pattern. This higher-resolution scan may take longer than the pre-scan, i.e., the cycle time may be increased. Alternatively, with the requisite signal-processing power available, the emission system may be operated faster, e.g., by sampling the reflection signal at a higher rate to accommodate the higher resolution without decreasing the repetition rate (i.e., increasing the cycle time) for the scan. Again, multiple of the higher-resolution scans may be averaged to improve the signal-to-noise ratio. The reflection signal of the refined scan may be used to confirm (508) the presence of an object of interest as well as determine (510) object attributes such as location, shape, configuration, surface detail, etc. In some embodiments, the object attributes may be used to identify (512) a portion of the object as the control portion. For instance, in an application context where machine control is performed by hand gestures, the system may, upon detection of a person in the region of interest, determine and analyze the person's contours to identify the person's hand or even individual fingers. Following such identification of control portions, subsequent scans may be limited to a region containing the control portion to save unnecessary computational expense.

An individual fine scan of the control object (or object portion) may by itself provide attributes sufficient to be interpreted (514) as control information to a machine or application under control. For instance, if a scan captures sufficient surface detail about a human operator's face, such information may be used to identify the operator and authorize the operator's access to the system. In many instances, however, control information is based on a plurality of scans and comparisons (516) therebetween. For example, scans (or sequences of scans that are averaged for noise-reduction purposes) may be repeated to determine object attribute sets at different points in time and facilitate comparisons (518) between these object attributes sets to detect any state changes (i.e., movements, deformations, changes in shape or configuration, etc.) of the control object. In some embodiments, the pre-scan(s) provide estimates of object attributes that allow comparisons with object attributes determined from a subsequent more refined scan, and in some embodiments, state changes are determined based on comparisons of two or more of the refined scans performed according to the second scan pattern. In yet further embodiments, the scan pattern may be varied (resulting in third, fourth, fifth patterns, etc.), e.g., to make adjustments for state changes of the control object. For example, as the control object moves, the scanned region may be moved along with it so as to track the object. As another example, if detected object attributes indicate a type of control input that requires more or less detail, finer or coarser scans may subsequently be performed by adjusting (520) the scan pattern and performing additional scan(s). Thus, control input discerned from the object attributes may be provided as feedback to the scan itself.

Additionally, the object attribute sets may be further processed and/or interpreted (522) as control information. In some embodiments, the control information includes the position or orientation of the control object relative to a programmatically defined “virtual” object, such as an engagement plane or other engagement target; see FIGS. 8A and 8B below. The control information, in turn, may be used as input to a device or application under control to elicit a response. The response is typically determined based on response criteria, which may be stored in memory accessible by the device or application under control. Response criteria allow control information to be filtered and a particular type of control information to cause different responses, depending on contextual information. Response criteria may include, e.g., the type of device or application that is being controlled; the status, mode, or settings of the device or application; the currently active user; the time of day; environmental parameters (e.g., lighting conditions, temperature, etc.); combinations thereof; and others. Possible responses include actions taken by the device or application under control (such as movement of a cursor or selection of an on-screen virtual object in response to a movement of the control object; granting of access to a secure system in response to the detection of an authorized user based on, e.g., biometric information; a physical action by a machine under control (e.g., movement of a robot part, dispensing of a fluid, printing of a document, etc.)), but also the absence of any action if the system discerns, for instance, that the detected control information was noise, an error, or can be ignored for other reasons.

FIG. 5B illustrates an embodiment in which scanning and image-based sensing functionalities are used in conjunction. Flowchart 500B of FIG. 5B shows a region of interest may initially be scanned (or pre-scanned) (530) to detect any objects of interest therein. A reflectance signal observed (532) can indicate a presence of an object in the region. Images of the region may be acquired (534). The images may be processed to locate (536) the object therein and determine (538) object attributes. For example, two or more cameras viewing the region from different vantage points may be used to image the region simultaneously to reconstruct the three-dimensional position, shape, configuration, and orientation of the object as described above with respect to FIGS. 4B-1 through 4B-3. In some embodiments, a control portion of the object is identified (540), and attributes specific to that control portion are determined. An individual set of attributes from the control object (or object portion) may by itself be sufficient to be interpreted (542) as control information to a machine or application under control. For example, if the control portion is a finger, the finger orientation or fingertip position may be computed. As another example, if the control portion is a person's face, key points and features of the face (e.g., the position of the nose tip, the distance between the eyes, the orientation of eyebrows, the curvature of the lips, etc.) can be extracted for purposes of identification of the person, characterization of a facial expression, or others. A temporal sequence of images (or pairs or multiplets of images taken with two or more cameras) may be acquired and compared (544) to track changes in the attributes of the control object or object portion. The attributes and changes thereof may be interpreted (546) as control information and used to cause a suitable response (550) by the machine or application under control, again, in general, in accordance with response criteria. The control information may also include control feedback to the imaging hardware itself. For instance, imaging parameters such as the frame rate, spatial resolution (which may be varied, e.g., by reading out only a subset of pixels or interlacing rows), noise threshold, etc. may be adjusted (548) based on the speed with which the control object moves, its size, the image contrast, and/or other object attributes.

Imaging of the region may continue until a termination criterion is satisfied, such as, e.g., when the control object has left the region, has ceased to move, or has provided control information (e.g., a characteristic gesture) indicative of deliberate termination, as determined, e.g., from the images themselves. Upon termination, the scanner hardware, which may have been idle during the imaging, may resume scanning the region. Alternatively, the scanner may continue scanning the region during the imaging, and the imaging may be controlled based thereon. For example, the scans may be used to track the location of a control object within a larger region and continuously adjust the field of view of the imaging camera(s) to center them at the object location, to detect a second control object entering the region, or to discern satisfaction of a termination criterion.

In yet another embodiment, shown by flowchart 500C in FIG. 5C, initial imaging of the region is combined with subsequent repeated scanning thereof to obtain more detailed information. For example, a wide-angle camera with a large, static field of view may acquire (560) images to “monitor” a region for any motions, foreground objects, or recognizable control objects (e.g., as stored in a library of template images) to identify possible control objects within the region. Upon detection (562) of the presence of a control object, one or more fine scans of the region, or a subregion around the object, may be conducted (564). Reflection can be detected to confirm (566) the presence of the object. Processing the reflection can determine (568) object attributes. A control portion of the object can be determined (570) from the reflection information, and attributes associated with the control portion can be interpreted (572) as control information. Alternatively, or additionally, attributes from multiple scans can be compared (574) to track changes of such object attributes. Changes in attributes can be interpreted (576) as control information and used to cause a suitable response (580) by the machine or application under control, again, in general, in accordance with response criteria. The scan parameters, such as the size and location of the subregion to be scanned or the particular scan pattern used, may depend at least in part on information from the initial imaging, and may be further adjusted (578) based on control information derived from the scans.

Imaging and scanning of a region may also be combined on equal footing, i.e., information obtained through both sensing modalities may be used in conjunction to monitor control object attributes and derive control information therefrom. The two modalities may provide redundant information, useful, e.g., for detecting error conditions in either modality, or complementary information that can increase the accuracy and/or completeness of the control information. For example, scanning may provide a means for accurately tracking the location of a fast-moving control object, while imaging the object (possibly at a much lower rate than the scan rate) with two cameras with overlapping fields of view may facilitate obtaining detailed information about the object's shape and surface features.

With reference to FIGS. 6A and 6B, a system for processing the reflectance signals and/or images acquired by the detection system to determine control information therefrom will now be described in detail. As shown, a variation-determination system 600 may comprise a model-management module 602 that provides functionality to build, modify, customize, and update one or more models to recognize variations in objects, positions, motions and attribute state and/or change in attribute state (of one or more attributes) from sensory information obtained from detection system 100. The model-management module 602 may model the variations in real-time as sensory information is received, or even predict variations based on a predictive model that can be updated and refined using the sensory information. A motion capture and sensory analyzer 604 finds motions (i.e., translational, rotational), conformations, and presence of objects within sensory information provided by detection system 100. The findings of motion capture and sensory analyzer 604 serve as input of sensed (e.g., observed) information from the environment with which model refiner 606 can update predictive information (e.g., models, model portions, model attributes, etc.).

The model refiner 606 may update one or more models 608 (or portions thereof) from sensory information (e.g., images, scans, other sensory-perceptible phenomena) and environmental information (i.e., context, noise, and so forth); enabling a model analyzer 610 to recognize object, position, motion, and/or attribute information that might be useful in controlling a machine. Model refiner 606 employs an object library 612 to manage objects including one or more models 608 (e.g., of user portions (e.g., hand, face), other control objects (e.g., styli, tools) or the like) (see, e.g., the models depicted in FIGS. 7A and 7B), and/or model components (e.g., shapes, 2D model portions that sum to 3D, outlines and/or outline portions (e.g., closed curves), attributes (e.g., attach points, neighbors, sizes (e.g., length, width, depth), rigidity/flexibility, torsional rotation, degrees of freedom of motion, and others), and so forth) useful to define and update models 608 and model attributes. While illustrated with reference to a particular embodiment in which models, model components, and attributes are co-located within a common object library 612, it should be understood that these objects will be maintained separately in some embodiments.

With the model-management module 602, one or more object attributes may be determined based on the detected light. Object attributes may include (but are not limited to) the presence or absence of the object; positional attributes such as the (e.g., one-, two-, or three-dimensional) location and/or orientation of the object (or locations and/or orientations of various parts thereof); dynamic attributes characterizing translational, rotational, or other forms of motion of the object (e.g., one-, two-, or three-dimensional momentum or angular momentum); physical attributes (e.g., structural or mechanical attributes such as appearance, shape, structure, conformation, articulation, deformation, flow/dispersion (for liquids), elasticity); optical properties or, more generally, properties affecting or indicative of interaction with electromagnetic radiation of any wavelength (e.g., color, translucence, opaqueness, reflectivity, absorptivity); and/or even chemical properties (as inferred, e.g., from optical properties) (such as material properties and composition).

In some embodiments, scanning the region involves multiple emission cycles. During different emission cycles, the region may (but need not) be scanned in accordance with different scan patterns. For example, an initial emission cycle may serve to detect an object, and during a subsequent cycle, a more refined scan pattern may serve to capture surface detail about the object, determining positional information for at least a portion of the object, or determining other kinds of object attributes. Multiple sequential emission cycles may also serve to detect changes in any of the object attributes, e.g., due to motion or deformation; for such differential object-attribute determinations, the same or similar scan patterns are typically used throughout the cycles. The object attributes may be analyzed to identify a potential control surface of the object.

FIG. 7A illustrates predictive information including a model 700 of a control object constructed from one or more model subcomponents 702, 703 selected and/or configured to represent at least a portion of a surface of control object 112, a virtual surface portion 706 and one or more attributes 708. Other components can be included in predictive information 710 not shown in FIG. 7A for clarity sake; such as models (user portions (hand, face), objects (styli, tools), model components (shapes, e.g., 2D model portions that sum to 3D), and model-component attributes (e.g., degrees of freedom of motion, torsional rotation, attach points, neighbors, size (length, width, depth), rigidity/flexibility), and others). In an embodiment, the model subcomponents 702, 703 can be selected from a set of radial solids, which can reflect at least a portion of a control object 112 in terms of one or more of structure, motion characteristics, conformational characteristics, other types of characteristics, and/or combinations thereof. In one embodiment, radial solids include a contour and a surface defined by a set of points having a fixed distance from the closest corresponding point on the contour. Another radial solid embodiment includes a set of points a fixed distance from corresponding points on a contour along a line normal thereto. In an embodiment, computational technique(s) for defining the radial solid include finding a closest point on the contour and the arbitrary point, then projecting outward the length of the radius of the solid. In an embodiment, such projection can be a vector normal to the contour at the closest point. An example radial solid (e.g., 702) includes a “capsuloid”, i.e., a capsule-shaped solid including a cylindrical body and semi-spherical ends. Another type of radial solid (e.g., 703) includes a sphere. Other types of radial solids can be identified based on the foregoing teachings.

In an embodiment and with reference to FIG. 7B, updating predictive information to observed information comprises selecting one or more sets of points 750 in space surrounding or bounding the control object within a field of view of one or more image-capture device(s). As shown, points 750 can be determined using one or more sets of lines 752A, 752B, 752C, and 752D originating at vantage point(s) associated with the image-capture device(s) (e.g., FIG. 1: 130A, 130B) and determining therefrom one or more intersection point(s) defining a bounding region (i.e., region formed by lines 752A, 752B, 752C, and 752D) surrounding a cross-section of the control object. The bounding region can be used to define a virtual surface (FIG. 7A: 706) to which model subcomponents 702, 703, and 754 can be compared. The virtual surface 706 can include a visible portion 760A and a non-visible “inferred” portion 760B. Virtual surfaces 706 can include straight portions and/or curved surface portions of one or more virtual solids (i.e., model portions) determined by model refiner 606.

For example and according to one embodiment illustrated by FIG. 7B, model refiner 606 determines to model subcomponent 754 of an object portion (happens to be a finger) using a virtual solid, an ellipse in this illustration, or any of a variety of 3D shapes (e.g., ellipsoid, sphere, or custom shape) and/or 2D slice(s) that are added together to form a 3D volume. Accordingly, beginning with generalized equations for an ellipse (1) with (x, y) being the coordinates of a point on the ellipse, (x_(C), y_(C)) the center, a and b the axes, and θ the rotation angle, the coefficients C₁, C₂ and C₃ are defined in terms of these parameters, as shown:

$\begin{matrix} {{{{{C_{1}x^{2}} + {C_{2}{xy}} + {C_{3}{y^{2 -}\left( {{2C_{1}x_{c}} + {C_{2}y_{c}}} \right)}x} - {\left( {{2C_{3}y_{c}} + {C_{2}x_{c}}} \right)y} + \left( {{C_{1}x_{c}^{2}} + {C_{2}x_{c}y_{c}} + {C_{3}y_{c}^{2}} - 1} \right)} = 0}\mspace{20mu} {C_{1} = {\frac{\cos^{2}\theta}{a^{2}} + \frac{\sin^{2}\theta}{b^{2}}}}}\mspace{20mu} {C_{2} = {{- 2}\cos \; {\theta sin}\; {\theta \left( {\frac{1}{a^{2}} - \frac{1}{b^{2}}} \right)}}}\mspace{20mu} {C_{3} = {\frac{\sin^{2}\theta}{a^{2}} + \frac{\cos^{2}\theta}{b^{2}}}}} & (1) \end{matrix}$

The ellipse equation (1) is solved for θ, subject to the constraints that: (1) (x_(C), y_(C)) must lie on the centerline determined from the four tangents 752A, 752B, 752C, and 752D (i.e., centerline 756 of FIG. 7B); and (2) a is fixed at the assumed value a₀. The ellipse equation can either be solved for θ analytically or solved using an iterative numerical solver (e.g., a Newtonian solver as is known in the art). An analytic solution can be obtained by writing an equation for the distances to the four tangent lines given a y_(C) position, then solving for the value of y_(C) that corresponds to the desired radius parameter a=a₀. Accordingly, equations (2) for four tangent lines in the x-y plane (of the slice), in which coefficients A_(i), B_(i) and D_(i) (for i=1 to 4) are determined from the tangent lines 752A, 752B, 752C, and 752D identified in an image slice as described above.

A ₁ x+B ₁ y+D ₁=0

A ₂ x+B ₂ y+D ₂=0

A ₃ x+B ₃ y+D ₃=0

A ₄ x+B ₄ y+D ₄=0  (2)

Four column vectors r₁₂, r₂₃, r₁₄ and r₂₄ are obtained from the coefficients A_(i), B_(i) and D_(i) of equations (2) according to equations (3), in which the “\” operator denotes matrix left division, which is defined for a square matrix M and a column vector v such that M\v=r, where r is the column vector that satisfies Mr=v:

$\begin{matrix} {{r_{13} = {\begin{bmatrix} A_{1} & B_{1} \\ A_{3} & B_{3} \end{bmatrix} \smallsetminus \begin{bmatrix} {- D_{1}} \\ {- D_{3}} \end{bmatrix}}}{r_{23} = {\begin{bmatrix} A_{2} & B_{2} \\ A_{3} & B_{3} \end{bmatrix} \smallsetminus \begin{bmatrix} {- D_{21}} \\ {- D_{3}} \end{bmatrix}}}{r_{14} = {\begin{bmatrix} A_{1} & B_{1} \\ A_{4} & B_{4} \end{bmatrix} \smallsetminus \begin{bmatrix} {- D_{1}} \\ {- D_{4}} \end{bmatrix}}}{r_{24} = {\begin{bmatrix} A_{2} & B_{2} \\ A_{4} & B_{4} \end{bmatrix} \smallsetminus \begin{bmatrix} {- D_{2}} \\ {- D_{4}} \end{bmatrix}}}} & (3) \end{matrix}$

Four component vectors G and H are defined in equations (4) from the vectors of tangent coefficients A, B and D and scalar quantities p and q, which are defined using the column vectors r₁₂, r₂₃, r₁₄ and r₂₄ from equations (3).

c1=(r ₁₃ +r ₂₄)/2

c2=(r ₁₄ +r ₂₃)/2

δ1=c2₁ −c1₁

δ2=c2₂ −c1₂

p=δ1/δ2

q=c1₁ −c1₂ *p

G=Ap+B

H=Aq+D  (4)

Six scalar quantities v_(A2), v_(AB), v_(B2), w_(A2), w_(AB), and w_(B2) are defined by equation (5) in terms of the components of vectors G and H of equation (4).

$\begin{matrix} {{v = {\begin{bmatrix} G_{2}^{2} & G_{3}^{2} & G_{4}^{2} \\ \left( {G_{2}H_{2}} \right)^{2} & \left( {G_{3}H_{3}} \right)^{2} & \left( {G_{4}H_{4}} \right)^{2} \\ H_{2}^{2} & H_{3}^{2} & H_{4}^{2} \end{bmatrix} \smallsetminus \begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}}}{w = {\begin{bmatrix} G_{2}^{2} & G_{3}^{2} & G_{4}^{2} \\ \left( {G_{2}H_{2}} \right)^{2} & \left( {G_{3}H_{3}} \right)^{2} & \left( {G_{4}H_{4}} \right)^{2} \\ H_{2}^{2} & H_{3}^{2} & H_{4}^{2} \end{bmatrix} \smallsetminus \begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix}}}{v_{A\; 2} = {\left( {v_{1}A_{1}} \right)^{2} + \left( {v_{2}A_{2}} \right)^{2} + \left( {v_{3}A_{3}} \right)^{2}}}{v_{AB} = {\left( {v_{1}A_{1}B_{1}} \right)^{2} + \left( {v_{2}A_{2}B_{2}} \right)^{2} + \left( {v_{3}A_{3}B_{3}} \right)^{2}}}{v_{B\; 2} = {\left( {v_{1}B_{1}} \right)^{2} + \left( {v_{2}B_{2}} \right)^{2} + \left( {v_{3}B_{3}} \right)^{2}}}{w_{A\; 2} = {\left( {w_{1}A_{1}} \right)^{2} + \left( {w_{2}A_{2}} \right)^{2} + \left( {w_{3}A_{3}} \right)^{2}}}{w_{AB} = {\left( {w_{1}A_{1}B_{1}} \right)^{2} + \left( {w_{2}A_{2}B_{2}} \right)^{2} + \left( {w_{3}A_{3}B_{3}} \right)^{2}}}{w_{B\; 2} = {\left( {w_{1}B_{1}} \right)^{2} + \left( {w_{2}B_{2}} \right)^{2} + \left( {w_{3}B_{3}} \right)^{2}}}} & (5) \end{matrix}$

Using the parameters defined in equations (1)-(5), solving for θ is accomplished by solving the eighth-degree polynomial equation (6) for t, where the coefficients Q_(i) (for i=0 to 8) are defined as shown in equations (7)-(15).

0=Q ₈ t ⁸ +Q ₇ t ⁷ +Q ₆ t ⁶ +Q ₅ t ⁵ +Q ₄ t ⁴ +Q ₃ t ³ +Q ₂ t ² +Q ₁ t+Q ₀  (6)

The parameters A₁, B₁, G₁, H₁, v_(A2), v_(AB), v_(B2), w_(A2), w_(AB), and w_(B2) used in equations (7)-(15) are defined as shown in equations (1)-(4). The parameter n is the assumed semi-major axis (in other words, a₀). Once the real roots t are known, the possible values of θ are defined as θ=a tan(t).

Q ₈=4A ₁ ² n ² v ² _(B2)+4v _(B2) B ₁ ²(1−n ² v _(A2))−(G ₁(1−n ² v _(A2))w _(B2) +n ² v _(B2) w _(A2)+2H ₁ v _(B2))²  (7)

Q ₇=−(2(2n ² v _(AB) w _(A2)+4H ₁ v _(AB)+2G ₁ n ² v _(AB) w _(B2)+2G ₁(1−n ² v _(A2))w _(AB)))(G ₁(1−n ² v _(A2))w _(B2) +n ² v _(B2) w _(A2)+2H ₁ v _(B2))−8A ₁ B ₁ n ² v _(B2) ²+16A ₁ ² n ² v _(AB) v _(B2)+(4(2A ₁ B ₁(1−n ² v _(A2))+2B ₁ ² n ² v _(AB)))v _(B2)+8B ₁ ²(1−n ² v _(A2))v _(AB)  (8)

Q ₆=−(2(2H ₁ v _(B2)+2H ₁ v _(A2) +n ² v _(A2) w _(A2) +n ² v _(B2)(−2w _(AB) +w _(B2))+G ₁(n ² v _(B2)+1)w _(B2)+4G ₁ n ² v _(AB) w _(AB) +G ₁(1−n ² v _(A2))v _(A2)))×(G ₁(1−n ² v _(A2))w _(B2) +n ² v _(B2) w _(A2)+2H ₁ v _(B2))−(2n ² v _(AB) w _(A2)+4H ₁ v _(AB)+2G ₁ n ² v _(AB) w _(B2)+2G ₁(1−n ² v _(A2))w _(AB))²+4B ² ₁ n ² v ² _(B2)−32A ₁ B ₁ n ² v _(AB) v _(B2)+4A ² ₁ n ²(2v _(A2) v _(B2)+4v ² _(AB))+4A ² ₁ n ² v ² _(B2)+(4(A ² ₁(1−n ² v _(A2))+4A ₁ B ₁ n ² v _(AB) +B ² ₁(−n ² v _(B2)+1)+B ₁ ²(1−n ² v _(A2))))v _(B2)+(8(2A ₁ B ₁(1−n ² v _(A2))+2B ² ₁ n ² v _(AB)))v _(AB)+4B ² ₁(1−n ² v _(A2))v _(A2)  (9)

Q ₅=−(2(4H ₁ v _(AB)+2G ₁(−n ² v _(B2)+1)w _(AB)+2G ₁ n ² v _(AB) v _(A2)+2n ² v _(A)(−2w _(AB) +w _(B2))))(G ₁(1−n ² v _(A2))w _(B2) +n ² v _(B2) w _(A2)+2H ₁ v _(B2))−(2(2H ₁ v _(B2)+2H ₁ v _(A2) +n ² v _(A2) w _(A2) +n ² v _(B2)(−2w _(AB) +w _(B2))+G ₁(−n ² v _(B2)+1)w _(B2)+4G ₁ n ² v _(AB) w _(AB) +G ₁(1−n ² v _(A2))v _(A2)))×(2n ² v _(AB) w _(A2)+4H ₁ v _(AB)+2G ₁ n ² v _(AB) w _(B2)+2G ₁(1−n ² v _(A2))w _(AB))+16B ² ₁ n ² v _(AB) v _(B2)−8A ₁ B ₁ n ²(2v _(A2) v _(B2)+4v ² _(AB))+16A ² ₁ n ² v _(A2) v _(AB)−8A ₁ B ₁ n ² v ² _(B2)+16A ² ₁ n ² v _(AB) v _(B2)+(4(2A ² ₁ n ² v _(AB)+2A ₁ B ₁(−n ² v _(B2)+1)+2A ₁ B ₁(1−n ² v _(A2))+2B ² ₁ n ² v _(AB)))v _(B2)+(8(A ² ₁(1−n ² v _(A2))+4A ₁ B ₁ n ² v _(AB) +B ² ₁(−n ² v _(B2)+1)+B ² ₁(1−n ² v _(A2))))v _(AB)+(4(2A ₁ B ₁(1−n ² v _(A2))+2B ² ₁ n ² v _(AB)))v _(A2)  (10)

Q ₄=(4(A ² ₁(−n ² v _(B2))+A ² ₁(1−n ² v _(A2))+4A ₁ B ₁ n ² v _(AB) +B ² ₁(−n ² v _(B2)+1)))v _(B2)+(8(2A ² ₁ n ² v _(AB)+2A ₁ B ₁(−n ² v _(B2)+1)+2A ₁ B ₁(1−n ² v _(A2))+2B ² ₁ n ² v _(AB)))v _(AB)+(4(A ² ₁(1−n ² v _(A2))+4A ₁ B ₁ n ² v _(AB) +B ² ₁(−n ² v _(B2)+1)+B ² ₁(1−n ² v _(A2))))v _(A2)+4B ² ₁ n ²(2v _(A2) v _(B2)+4v ² _(AB))−32A ₁ B ₁ n ² v _(A2) v _(AB)+4A ² ₁ n ² v ² _(A2)+4B ² ₁ n ² v ² _(B2)−32A ₁ B ₁ n ² v _(AB) v _(B2)+4A ² ₁ n ²(2v _(A2) v _(B2)+4v ² _(AB))−(2(G ₁(−n ² v _(B2)+1)v _(A2) +n ² v _(A2)(−2w _(AB) +w _(B2))+2H ₁ v _(A2)))G ₁(1−n ² v _(A2))w _(B2) +n ² v _(B2) w _(A2)+2H ₁ v _(B2))−(2(4H ₁ v _(AB)+2G ₁(−n ² v _(B2)+1)w _(AB)+2G ₁ n ² v _(AB) v _(A2)+2n ² v _(AB)(−2w _(AB) +w _(B2))))×(2n ² v _(AB) w _(A2)+4H ₁ v _(AB)+2G ₁ n ² v _(AB) w _(B2)+2G ₁(1−n ² v _(A2))w _(AB))−(2H ₁ v _(B2)+2H ₁ v _(A2) +n ² v _(A2) w _(A2) +n ² v _(B2)(−2w _(AB) +w _(B2))+G ₁(−n ² v _(B2)+1)w _(B2)+4G ₁ n ² v _(AB) w _(AB) +G ₁(1−n ² v _(A2))v _(A2))²  (11)

Q ₃=−(2(G ₁(−n ² v _(B2)+1)v _(A2) +n ² v _(A2)(−2w _(AB) +w _(B2))+2H ₁ v _(A2)))(2n ² v _(AB) w _(A2)+4H ₁ v _(AB)+2G ₁ n ² v _(AB) w _(B2)+2G ₁(1−n ² v _(A2))w _(AB))−2(4H ₁ v _(AB)+2G ₁(−n ² v _(B2)+1)w _(AB)+2G ₁ n ² v _(AB) v _(A2)+2n ² v _(AB)(−2w _(AB) +w _(B2))))×(2H ₁ v _(B2)+2H ₁ v _(A2) +n ² v _(A2) w _(A2) +n ² v _(B2)(−2w _(AB) +w _(B2))+G ₁(−n ² v _(B2)+1)w _(B2)+4G ₁ n ² v _(AB) w _(AB) +G ₁(1−n ² v _(A2))v _(A2))+16B ² ₁ n ² v _(A2) v _(AB)−8A ₁ B ₁ n ² v ² _(A2)+16B ² ₁ n ² v _(AB) v _(B2)−8A ₁ B ₁ n ²(2v _(A2) v _(B2)+4v ² _(AB))+16A ² ₁ n ² v _(A2) v _(AB)+(4(2A ² ₁ n ² v _(AB)+2A ₁ B ₁(−n ² v _(B2)+1)))v _(B2)+(8(A ₁ ²(−n ² v _(B2)+1)+A ₁ ²(1−n ² v _(A2))+4A ₁ B ₁ n ² v _(AB) +B ₁ ²(−n ² v _(B2)+1)))v _(AB)+(4(2A ² ₁ n ² v _(AB)+2₁ B ₁(−n ² v _(B2)+1)+2A ₁ B ₁(1−n ² v _(A2))+2B ² ₁ n ² v _(AB)))v _(A2)  (12)

Q ₂=4A ² ₁(−n ² v _(B2)+1)v _(B2)+(8(2A ² ₁ n ² v _(AB)+2A ₁ B ₁(−n ² v _(B2)+1)))v _(Ab)+(4(A ² ₁(−n ² v _(B2)+1)+A ² ₁(1−n ² v _(A2))+4A ₁ B ₁ n ² v _(AB) +B ² ₁(−n ² v _(B2)+1)))v _(A2)+4B ² ₁ n ² v ² _(A2)+4B ² ₁ n ²(2v _(A2) v _(B2)+4v ² _(AB))−32A ₁ B ₁ n ² v _(A2) v _(AB)+4A ² ₁ n ² v ² _(A2)−(2(G ₁(−n ² v _(B2)+1)v _(A2) +n ² v _(A2)(−2w _(AB) +w _(B2))+2H ₁ v _(A2)))×(2H ₁ v _(B2)+2H ₁ v _(A2) +n ² v _(A2) w _(A2) +n ² v _(B2)(−2w _(AB) +w _(B2))+G ₁(−n ² v _(B2)+1)w _(B2)+4G ₁ n ² v _(AB) w _(AB) +G ₁(1−n ² v _(A2))v _(A2))−(4H ₁ v _(AB)+2G ₁(−n ² v _(B2)+1)w _(AB)+2G ₁ n ² v _(AB) v _(A2)+2n ² v _(AB)(−2w _(AB) +w _(B2)))²  (13)

Q ₁=8A ² ₁(−n ² v _(B2)+1)v _(AB)+(4(2A ² ₁ n ² v _(AB)+2A ₁ B ₁(−n ² v _(B2)+1)))v _(A2)+16B ² ₁ n ² v _(A2) v _(AB)−8A ₁ B ₁ n ² v ² _(A2)−(2(G ₁(−n ² v _(B2)+1)v _(A2) +n ² v _(A2)(−2w _(AB) +w _(B2))+2H ₁ v _(A2)))(4H ₁ v _(AB)+2G ₁(−n ² v _(B2)+1)w _(AB)+2G ₁ n ² v _(AB) v _(A2)+2n ² v _(AB)(−2w _(AB) +w _(B2)))  (14)

Q ₀=4A ₁ ²(−n ² v _(B2)+1)v _(A2)−(G ₁(−n ² v _(B2)+1)v _(A2) +n ² v _(A2)(−2w _(AB) +w _(B2))+2H ₁ v _(A2))²+4B ² ₁ n ² v ² _(A2)  (15)

In this exemplary embodiment, equations (6)-(15) have at most three real roots; thus, for any four tangent lines, there are at most three possible ellipses that are tangent to all four lines and that satisfy the a=a₀ constraint. (In some instances, there may be fewer than three real roots.) For each real root θ, the corresponding values of (x_(C), y_(C)) and b can be readily determined. Depending on the particular inputs, zero or more solutions will be obtained; for example, in some instances, three solutions can be obtained for a typical configuration of tangents. Each solution is completely characterized by the parameters {θ, a=a₀, b, (x_(C), y_(C))}. Alternatively, or additionally, referring to FIGS. 6A and 6B, a model builder 614 and model updater 616 provide functionality to define, build, and/or customize model(s) 608 using one or more components in object library 612. Once built, model refiner 606 updates and refines the model, bringing the predictive information of the model in line with observed information from the detection system 102.

The model subcomponents 702, 703, 754 can be scaled, sized, selected, rotated, translated, moved, or otherwise re-ordered to enable portions of the model corresponding to the virtual surface(s) to conform within the points 750 in space. Model refiner 606 employs a variation detector 618 to substantially continuously determine differences between sensed information and predictive information and provide to model refiner 606 a variance useful to adjust the model 608 accordingly. Variation detector 618 and model refiner 606 are further enabled to correlate among model portions to preserve continuity with characteristic information of a corresponding object being modeled, continuity in motion, and/or continuity in deformation, conformation and/or torsional rotations.

In an embodiment, when the control object morphs, conforms, and/or translates, motion information reflecting such motion(s) is included in the observed information. Points in space can be recomputed based on the new observation information. The model subcomponents can be scaled, sized, selected, rotated, translated, moved, or otherwise re-ordered to enable portions of the model corresponding to the virtual surface(s) to conform to the set of points in space.

In an embodiment, motion(s) of the control object can be rigid transformations, in which case points on the virtual surface(s) remain at the same distance(s) from one another through the motion. Motion(s) can be non-rigid transformations, in which points on the virtual surface(s) can vary in distance(s) from one another during the motion. In an embodiment, observation information can be used to adjust (and/or re-compute) predictive information, thereby enabling “tracking” the control object. In embodiments, the control object can be tracked by determining whether a rigid transformation or a non-rigid transformation occurs. In an embodiment, when a rigid transformation occurs, a transformation matrix is applied to each point of the model uniformly. Otherwise, when a non-rigid transformation occurs, an error indication can be determined, and an error-minimization technique such as described herein above can be applied. In an embodiment, rigid transformations and/or non-rigid transformations can be composed. One example composition embodiment includes applying a rigid transformation to predictive information. Then an error indication can be determined, and an error minimization technique such as described herein above can be applied. In an embodiment, determining a transformation can include calculating a rotation matrix that provides a reduced RMSD (root mean squared deviation) between two paired sets of points. One embodiment can include using Kabsch Algorithm to produce a rotation matrix. In an embodiment and by way of example, one or more force lines can be determined from one or more portions of a virtual surface.

Collisions:

In an embodiment, predictive information can include collision information concerning two or more capsuloids. By means of illustration, several possible fits of predicted information to observed information can be removed from consideration based upon a determination that these potential solutions would result in collisions of capsuloids. In an embodiment, a relationship between neighboring capsuloids, each having one or more attributes (e.g., determined minima and/or maxima of intersection angles between capsuloids) can be determined. In an embodiment, determining a relationship between a first capsuloid having a first set of attributes and a second capsuloid having a second set of attributes includes detecting and resolving conflicts between first attributes and second attributes. For example, a conflict can include a capsuloid having one type of angle value with a neighbor having a second type of angle value incompatible with the first type of angle value. Attempts to attach a capsuloid with a neighboring capsuloid having attributes such that the combination will exceed what is allowed in the observed—or to pair incompatible angles, lengths, shapes, or other such attributes—can be removed from the predicted information without further consideration.

Lean Model:

In an embodiment, predictive information can be artificially constrained to capsuloids positioned in a subset of the observed information—thereby enabling creation of a “lean model.” For example, as illustrated in FIG. 7A, capsuloid 702 could be used to denote the portion of the observed without addition of capsuloids 703. In a yet further embodiment, connections can be made using artificial constructs to link together capsuloids of a lean model. In another embodiment, the predictive information can be constrained to a subset of topological information about the observed information representing the control object to form a lean model. In an embodiment, a lean model can be associated with a full predictive model. The lean model (or topological information, or properties described above) can be extracted from the predictive model to form a constraint. Then, the constraint can be imposed on the predictive information, thereby enabling the predictive information to be constrained in one or more of behavior, shape, total (system) energy, structure, orientation, compression, shear, torsion, other properties, and/or combinations thereof.

Occlusions:

In an embodiment, the observed can include components reflecting portions of the control object which are occluded from view of the device (“occlusions” or “occluded components”). In one embodiment, the predictive information can be “fit” to the observed as described herein above with the additional constraint(s) that some total property of the predictive information (e.g., potential energy) be minimized or maximized (or driven to lower or higher value(s) through iteration or solution). Properties can be derived from nature, properties of the control object being viewed, others, and/or combinations thereof. In another embodiment, as shown by FIGS. 7C and 7D, a deformation of the predictive information subcomponent 760 can be allowed subject to an overall permitted value of compression, deformation, flexibility, others, and/or combinations thereof.

Friction:

In an embodiment, a “friction constraint” is applied on the model 700. For example, if fingers of a hand being modeled are close together (in position or orientation), corresponding portions of the model will have more “friction”. The more friction a model subcomponent has in the model, the less the subcomponent moves in response to new observed information. Accordingly, the model is enabled to mimic the way portions of the hand that are physically close together move together, and move less overall. Further detail about capsuloids, occlusion, collisions and lean models, friction and robustness can be found in U.S. Provisional Patent Application Nos. 61/871,790, filed Aug. 29, 2013, 61/873,758, filed Sep. 4, 2013, and 61/898,462, filed Oct. 31, 2013, which are hereby incorporated herein by reference in their entirety.

With renewed reference to FIGS. 6A and 6B, an environmental filter 620 reduces extraneous noise in sensed information received from the detection system 100 using environmental information to eliminate extraneous elements from the sensory information. Environmental filter 620 employs contrast enhancement, subtraction of a difference image from an image, software filtering, and background subtraction (using background information provided by objects-of-interest determiner 622 (see below) to enable model refiner 606 to build, refine, manage, and maintain model(s) 608 of objects of interest from which control inputs can be determined.

A model analyzer 610 determines that a reconstructed shape of a sensed object portion matches an object model in an object library, and interprets the reconstructed shape (and/or variations thereon) as user input. Model analyzer 610 provides output in the form of object, position, motion, and attribute information to an interaction system 630.

The interaction system 630 includes an interaction-interpretation module 632 that provides functionality to recognize command and other information from object, position, motion and attribute information obtained from variation system 600. An interaction-interpretation module 632 embodiment comprises a recognition engine 634 to recognize command information such as command inputs (i.e., gestures and/or other command inputs (e.g., speech, and so forth)), related information (i.e., biometrics), environmental information (i.e., context, noise, and so forth) and other information discernable from the object, position, motion, and attribute information that might be useful in controlling a machine. Recognition engine 634 employs gesture properties 636 (e.g., path, velocity, acceleration, and so forth), control objects determined from the object, position, motion, and attribute information by an objects-of-interest determiner 622 and optionally one or more virtual constructs 638 (see e.g., FIGS. 8A and 8B: 800 and 820) to recognize variations in control-object presence or motion indicating command information, related information, environmental information, and other information discernable from the object, position, motion, and attribute information that might be useful in controlling a machine. With reference to FIGS. 8A and 8B, virtual construct 800, 820 implement an engagement target with which a control object 112 interacts—enabling the machine sensory and control system to discern variations in control object (i.e., motions into, out of or relative to virtual construct 800, 820) as indicating control or other useful information. Returning to FIGS. 6A and 6B, a gesture trainer 640 and gesture-properties extractor 642 provide functionality to define, build, and/or customize gesture properties 636.

A context determiner 644 and object-of-interest determiner 622 provide functionality to determine from the object, position, motion, and attribute information objects of interest (e.g., control objects, or other objects to be modeled and analyzed) and/or objects not of interest (e.g., background), based upon a detected context. For example, when the context is determined to be an identification context, a human face will be determined to be an object of interest to the system and will be determined to be a control object. On the other hand, when the context is determined to be a fingertip control context, the finger tips will be determined to be object(s) of interest and will be determined to be control objects whereas the user's face will be determined not to be an object of interest (i.e., background). Further, when the context is determined to be a stylus (or other tool) held in the fingers of the user, the tool tip will be determined to be object of interest and a control object whereas the user's fingertips might be determined not to be objects of interest (i.e., background). Background objects can be included in the environmental information provided to environmental filter 620 of model-management module 602.

A virtual environment manager 646 provides creation, selection, modification, and de-selection of one or more virtual constructs 800, 820 (see FIGS. 8A and 8B). In some embodiments, virtual constructs (e.g., a virtual object defined in space such that variations in real objects relative to the virtual construct, when detected, can be interpreted for control or other purposes) are used to determine variations (i.e., virtual “contact” with the virtual construct, breaking of virtual contact, motion relative to a construct portion, and so forth) to be interpreted as engagements, dis-engagements, motions relative to the construct(s), and so forth, enabling the system to interpret pinches, pokes and grabs, and so forth. Interaction-interpretation module 632 provides as output the command information, related information, and other information discernable from the object, position, motion, and attribute information that might be useful in controlling a machine from recognition engine 634 to an application control system 650.

Further with reference to FIGS. 6A and 6B, an application control system 650 includes a control module 652 that provides functionality to determine and authorize commands based upon the command and other information obtained from interaction system 630.

A control module 652 embodiment comprises a command engine 654 to determine whether to issue command(s) and what command(s) to issue based upon the command information, related information, and other information discernable from the object, position, motion, and attribute information, as received from the interaction-interpretation module 632. Command engine 654 employs command/control repository 656 (e.g., application commands, OS commands, commands to the machine sensory and control system, miscellaneous commands) and related information indicating context received from the interaction-interpretation module 632 to determine one or more commands corresponding to the gestures, context, and so forth indicated by the command information. For example, engagement gestures can be mapped to one or more controls, or a control-less screen location, of a presentation device associated with a machine under control. Controls can include imbedded controls (e.g., sliders, buttons, and other control objects in an application), or environmental level controls (e.g., windowing controls, scrolls within a window, and other controls affecting the control environment). In embodiments, controls may be displayed using 2D presentations (e.g., a cursor, cross-hairs, icon, graphical representation of the control object, or other displayable object) on display screens and/or presented in 3D forms using holography, projectors, or other mechanisms for creating 3D presentations, or may be audible (e.g., mapped to sounds, or other mechanisms for conveying audible information) and/or touchable via haptic techniques.

Further, an authorization engine 658 employs biometric profiles 660 (e.g., users, identification information, privileges, and so forth) and biometric information received from the interaction-interpretation module 632 to determine whether commands and/or controls determined by the command engine 654 are authorized. A command builder 662 and biometric profile builder 660 provide functionality to define, build, and/or customize command/control repository 652 and biometric profiles 660.

Selected authorized commands are provided to machine(s) under control (i.e., “client”) via interface layer 664. Commands/controls to the virtual environment (i.e., interaction control) are provided to virtual environment manager 646. Commands/controls to the emission/detection systems (i.e., sensory control) are provided to emission module 102 and/or detection module 104 as appropriate.

For example, if the control object is a hand, analysis of the hand's shape and configuration (which may be the object attributes of interest) may determine the positions of the finger tips, which may constitute the relevant control surfaces. Furthermore, changes in control attributes of the identified control surface(s), such as positional changes of the fingertips, may be analyzed to determine whether they are indicative of control information. In hand-gesture-based machine control, for instance, this may serve to discriminate between deliberate motions intended to provide control input and hand jitter or other inevitable motions. Such discrimination may be based, e.g., on the scale and speed of motion, similarity of the motions to pre-defined motion patterns stored in a library, and/or consistency with deliberate motions as characterized using machine learning algorithms or other approaches.

Further, in some embodiments, as illustrated with reference to FIGS. 8A and 8B, a hand gesture or other motion is analyzed relative to a programmatically defined engagement target (e.g., a plane, curved surface (whether open or closed), point, line, or volume whose position and location in space is well-defined and which need generally not coincide with a physical surface) to determine whether the change in the control surface is indicative of an engagement gesture. For example, if the fingertip pierces an engagement surface, this may be interpreted as a click event, or if one or more fingertips or the entire hand moves substantially parallel to an engagement surface defined relative to a display screen, this may be interpreted as a scrolling gesture. If a particular detected motion (or, more generally, change in object attributes) corresponds to control information, an appropriate response action is taken, generally in accordance with and/or based on response criteria, such as the context in which the control information was received (e.g., the particular software application active at the time, the user accessing the system, an active security level, etc.). The response may involve issuing a command (e.g., open a new document upon a “click,” or shift the displayed content in response to a scrolling motion) to a user interface based on the detected gesture or motion. As illustrated in, FIGS. 8A and 8B, a machine sensory and controller system 810 can be embodied as a standalone unit(s) 810 coupleable via an interface (e.g., wired or wireless), embedded (e.g., within a machine 812, 814 or machinery under control), or combinations thereof. Further information about virtual constructs and engagement can be found in U.S. patent application Ser. No. 14/154,730, filed Jan. 14, 2014), the entire disclosure of which is hereby incorporated by reference.

FIG. 9 illustrates an exemplary computing system 900, such as a PC (or other suitable “processing” system), that can comprise one or more of the elements of the machine sensory and control system shown in FIGS. 1 and 4 according to an embodiment. While other application-specific device/process alternatives might be utilized, such as those already noted in discussions of specific embodiments, it will be presumed for clarity sake that various systems 100, 600, 630, 650 are implemented by, or using, one or more processing systems consistent therewith, unless otherwise indicated. As shown, computer system 900 comprises elements coupled via communication channels (e.g., one or more buses 901), including one or more general-purpose or special-purpose processors 902, such as a Pentium® or Power PC®, digital signal processor (“DSP”), or other processing component. System 900 elements also include one or more input devices 903 (such as a mouse, keyboard, joystick, microphone, remote control unit, tactile, biometric or other sensors, and so on), and one or more output devices 904 (such as a suitable display, joystick feedback components, speakers, biometric or other actuators, and so on, in accordance with a particular application).

System 900 elements also include a computer-readable storage-media reader 905 coupled to a computer-readable storage medium 906, such as a storage/memory device or hard or removable storage/memory media; examples are further indicated separately as storage device 908 and non-transitory memory 909, which can include hard disk variants, floppy/compact disk variants, digital versatile disk (“DVD”) variants, smart cards, read only memory, random access memory, cache memory or others, in accordance with a particular application (e.g., see data store(s) 612, 636, 656 and 660 of FIGS. 6A and 6B). One or more suitable communication devices 910 can also be included, such as a modem, DSL, infrared, etc. for providing inter-device communication directly or via suitable private or public networks, such as the Internet. Working memory 909 may load therein and/or store processor-executable instructions, programmed in any one or combination of suitable programming languages, such as, e.g., C, C++, Python, Basic, Pascal, Fortran, and/or others. The instructions may be grouped into program modules. For example, as shown, the working memory 909 may store an operating system (“OS”) 911 for providing basic system-level functionality (such as file management, memory allocation, and communication with the various input/output and other hardware devices); an emission/detection control module 912 constituting or communicating with the controller 106; a signal-processing module 108; model-management, interaction-interpretation, and application/device-control modules 602, 632, 652; and other programs 915, such as application programs, mobile code, data, or other information for implementing systems 100, 600, 630, 650 elements. However, as will be readily apparent to one of skill in the art, the functionality of systems 100, 600, 630, 650 can also be grouped and organized in many alternative ways.

In general, system 900 element implementations can include hardware, software, firmware, or a suitable combination. When implemented in software (e.g., as an application program, object, downloadable, servlet, and so on, in whole or part), a system 900 element can be communicated transitionally or more persistently from local or remote storage to memory for execution, or another suitable mechanism can be utilized, and elements can be implemented in compiled, simulated, interpretive, or other suitable forms. Input, intermediate or resulting data or functional elements can further reside more transitionally or more persistently in storage media or memory (e.g., storage device 908 or memory 909) in accordance with a particular application.

Certain aspects enabled by input/output processors and other element embodiments disclosed herein (such as the determination of a potential interaction, virtual object selection, or authorization issuance) can also be provided in a manner that enables a high degree of broad or even global applicability; these can also be suitably implemented at a lower hardware/software layer. Note, however, that aspects of such elements can also be more closely linked to a particular application type or machine, or might benefit from the use of mobile code, among other considerations; a more distributed or loosely coupled correspondence of such elements with OS processes might thus be more desirable in such cases.

Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.

While the invention has been described by way of example and in terms of the specific embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements as would be apparent to those skilled in the art. Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements. 

1. A computer implemented method for conducting machine control, the method comprising: monitoring a region of space for a presence of an object, the monitoring including: scanning the region of space using a first sensing modality, the region of space being scanned at a first rate; and detecting the presence of the object in the region of space; responsive to detecting the presence of the object in the region of space, performing operations including: imaging the region of space including the object for at least two cycles using a second sensing modality, the region of space being imaged at a second rate that is slower than the first rate; and determining a first set of object attributes of the object for a first imaging cycle of the at least two cycles; and determining a second set of object attributes of the object for a second imaging cycle of the at least two cycles; comparing the first set of object attributes and the second set of object attributes to determine control information; and responding to the determined control information according to response criteria.
 2. The computer implemented method according to claim 1, wherein the scanning of the region of space comprises: directing at least two emission cycles to form at least two scan patterns from an emission region of the first sensing modality to the region of space, one scan pattern of the at least two scan patterns being different from at least one other scan pattern of the at least two scan patterns; detecting a reflectance of the at least two scan patterns; and determining that the detected reflectance indicates the presence of the object in the region of space.
 3. The computer implemented method according to claim 2, wherein: one scan pattern of the at least two scan patterns is configured to provide sequential emissions from emitters of the emission region in a binary manner such that each of the emitters is turned on and off one at a time; and at least one other scan pattern of the at least two scan patterns is configured to provide simultaneously overlapping emissions from the emitters.
 4. The computer implemented method according to claim 1, wherein the response criteria includes determining whether to respond to the control information.
 5. The computer implemented method according to claim 1, wherein the determining of the first set of object attributes and the determining of the second set of object attributes include determining control-portion attributes based at least in part on captured surface detail about the object.
 6. The computer implemented method according to claim 1, wherein the determining of the first set of object attributes includes identifying a presence of a hand in the region of space.
 7. The computer implemented method according to claim 1, wherein: the scanning of the region of space using the first sensing modality provides imaging the region of space at the first rate, which provides low resolution imaging of the region of space; and the imaging of the region of space using the second sensing modality at the second rate provides high resolution imaging of the region of space.
 8. The computer implemented method according to claim 1, wherein the first sensing modality and the second sensing modality have overlapping fields of view.
 9. The computer implemented method according to claim 8, wherein the second sensing modality includes at least two imaging sensors having overlapping fields of view.
 10. The computer implemented method according to claim 1, wherein the second sensing modality includes at least two imaging sensors having overlapping fields of view.
 11. A non-transitory computer readable storage medium impressed with computer program instructions for conducting machine control, the instructions, when executed on a processor, implement a method comprising: monitoring a region of space for a presence of an object, the monitoring including: scanning the region of space using a first sensing modality, the region of space being scanned at a first rate; and detecting the presence of the object in the region of space; responsive to detecting the presence of the object in the region of space, performing operations including: imaging the region of space including the object for at least two cycles using a second sensing modality, the region of space being imaged at a second rate that is slower than the first rate; and determining a first set of object attributes of the object for a first imaging cycle of the at least two cycles; and determining a second set of object attributes of the object for a second imaging cycle of the at least two cycles; comparing the first set of object attributes and the second set of object attributes to determine control information; and responding to the determined control information according to response criteria.
 12. The non-transitory computer readable storage medium according to claim 11, wherein the scanning of the region of space comprises: directing at least two emission cycles to form at least two scan patterns from an emission region of the first sensing modality to the region of space, one scan pattern of the at least two scan patterns being different from at least one other scan pattern of the at least two scan patterns; detecting a reflectance of the at least two scan patterns; and determining that the detected reflectance indicates the presence of the object in the region of space.
 13. The non-transitory computer readable storage medium according to claim 12, wherein: one scan pattern of the at least two scan patterns is configured to provide sequential emissions from emitters of the emission region in a binary manner such that each of the emitters is turned on and off one at a time; and at least one other scan pattern of the at least two scan patterns is configured to provide simultaneously overlapping emissions from the emitters.
 14. The non-transitory computer readable storage medium according to claim 11, wherein the response criteria includes determining whether to respond to the control information.
 15. The non-transitory computer readable storage medium according to claim 11, wherein the determining of the first set of object attributes and the determining of the second set of object attributes include determining control-portion attributes based at least in part on captured surface detail about the object.
 16. A system including one or more processors coupled to memory, the memory loaded with computer instructions for conducting machine control, the instructions, when executed on the processors, implement actions comprising: monitoring a region of space for a presence of an object, the monitoring including: scanning the region of space using a first sensing modality, the region of space being scanned at a first rate; and detecting the presence of the object in the region of space; responsive to detecting the presence of the object in the region of space, performing operations including: imaging the region of space including the object for at least two cycles using a second sensing modality, the region of space being imaged at a second rate that is slower than the first rate; and determining a first set of object attributes of the object for a first imaging cycle of the at least two cycles; and determining a second set of object attributes of the object for a second imaging cycle of the at least two cycles; comparing the first set of object attributes and the second set of object attributes to determine control information; and responding to the determined control information according to response criteria.
 17. The system according to claim 16, wherein the scanning of the region of space comprises: directing at least two emission cycles to form at least two scan patterns from an emission region of the first sensing modality to the region of space, one scan pattern of the at least two scan patterns being different from at least one other scan pattern of the at least two scan patterns; detecting a reflectance of the at least two scan patterns; and determining that the detected reflectance indicates the presence of the object in the region of space.
 18. The system according to claim 17, wherein: one scan pattern of the at least two scan patterns is configured to provide sequential emissions from emitters of the emission region in a binary manner such that each of the emitters is turned on and off one at a time; and at least one other scan pattern of the at least two scan patterns is configured to provide simultaneously overlapping emissions from the emitters.
 19. The system according to claim 16, wherein the response criteria includes determining whether to respond to the control information.
 20. The system according to claim 16, wherein the determining of the first set of object attributes and the determining of the second set of object attributes include determining control-portion attributes based at least in part on captured surface detail about the object. 